<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>登录</title>
    <%- include common %>
</head>

<body>
    <%- include('head',{title:'login',username:''})%>
        <div class="container" style="margin-top: 60px;">
            <h2 class="text-info">登录 - login </h2>
            <div class="row">
                <div class="col-md-4 ">
                    <form action="/users/login/submit" method="POST">
                        <div class="form-group">
                            <label for="usernames">用户名</label>
                            <input type="text" name="usernames" class="form-control" id="usernames" placeholder="Username">
                        </div>
                        <div class="form-group">
                            <label for="password">密码</label>
                            <input type="password" name="password" class="form-control" id="password" placeholder="password">
                        </div>
                        <button type="submit" class="btn btn-warning">登录</button>
                        <button type="reset" class="btn btn-danger" onclick="location.href='/register'">注册</button>

                    </form>
                </div>
            </div>
        </div>
        <%- include foot %>
</body>

</html>